const a = async function (
  _,
  { origin },
  { dc: { http, store }, xe: { get }, dayjs }
) {
  const form = get(origin, "ca827124433a4737a218b1d3e8c9354f", {});
  const YEAR = dayjs(store.get("user", "date")).format("YYYY");
  const params = { ...form };
  if (params.ENTERPRISEINCODE && Array.isArray(params.ENTERPRISEINCODE)) {
    params.ENTERPRISEINCODE = params.ENTERPRISEINCODE.join();
  }
  const data = await http.form({
    url: "/zw/czQuery/balance",
    params: {
      ISRECESSIVE: -1,
      off_type: -1,
      ...params,
      id: 2381,
      pageIndex: 0,
      pageSize: 10,
      YEAR,
    },
  });
  return { items: data, total: 0 };
};
